//Test basic knowledge base feature

//Open any tab with Firebug JavaScript console, and type in these.
var kb = Components.classes["@dig.csail.mit.edu/tabulator;1"].getService(Components.interfaces.nsISupports).wrappedJSObject.kb;
var Kenny = kb.sym("http://dig.csail.mit.edu/People/kennyluck#I");
var property_friend = kb.sym("http://xmlns.com/foaf/0.1/knows");
var PG = kb.sym("http://sites.google.com/site/pg30123/about_pg#I");
kb.add(Kenny, property_friend, PG);
//Kenny knows PG.

//Open another tab with Firebug JavaScript console, and type in these.
var kb = Components.classes["@dig.csail.mit.edu/tabulator;1"].getService(Components.interfaces.nsISupports).wrappedJSObject.kb;
var property_friend = kb.sym("http://xmlns.com/foaf/0.1/knows");
var PG = kb.sym("http://sites.google.com/site/pg30123/about_pg#I");
kb.any(undefined, property_friend, PG).uri;
//Give me any people who konws PG
//--> "http://dig.csail.mit.edu/People/kennyluck#I"

//If sucess, this means we have a cross browser database.
